package com.example.common.global;

/**
 * 操作状态码常量
 */
public class ErrorCode {

    //-----------------------
    // 查询相关异常码
    //----------------------

    /**
     * 查询操作默认异常码
     */
    public static final String QUERY_DEFAULT_ERROR = "00100";
    public static final String SYSTEM_CONFIG_IS_NO_EXIST = "00101";
    public static final String PLEASE_CONFIGURE_PASSWORD = "00102";
    public static final String PLEASE_CONFIGURE_BLOG_COUNT = "00103";
    public static final String PLEASE_CONFIGURE_TAG_COUNT = "00104";
    public static final String PLEASE_CONFIGURE_LINK_COUNT = "00105";
    public static final String PLEASE_CONFIGURE_SYSTEM_PARAMS = "00106";
    public static final String PLEASE_SET_QI_NIU = "00107";

    /**
     * 插入操作默认异常码
     */
    public static final String INSERT_DEFAULT_ERROR = "00200";
    /**
     * 更新操作默认异常码
     */
    public static final String UPDATE_DEFAULT_ERROR = "00300";

    /**
     * 删除操作默认异常码
     */
    public static final String DELETE_DEFAULT_ERROR = "00400";
    public static final String DELETE_FAILED_PLEASE_CHECK_UID = "00401";

}

